home *** CD-ROM | disk | FTP | other *** search
- #!/bin/csh -f
- # Overall MAEstro Software installation script
- # Copyright (C) 1995 by George D. Drapeau
- #
-
- if ($#argv > 0) then # Was a command-line argument specified?
- set scriptArg = $argv[1] # Yes, use it during this install process
- else
- set scriptArg = "standard" # No, install just the standard software (see below for definition)
- endif
-
- #-------------------------- Beginning of Intro Message --------------------------
- cat << EndOfIntroMessage
-
- MAEstro Software Installation
-
- This script can install all of the software on this CD.
- By default, this script will install the following packages:
-
- * Applications
- * Developer's Tools
- * Unsupported Extras
-
- Due to the size of the 'Demos' package, it is not installed by
- default. If you wish to install the 'Demos' package at a later time
- you may do so by typing
-
- ./Install demos
-
- Please press the Return key when you have read this message.
-
- EndOfIntroMessage
-
- #-------------------------- End of Intro Message --------------------------
-
- set ReadMessage = $< # Wait for the installer to press Return before continuing
-
- switch ($scriptArg)
- case "all": # Full MAEstro installation
- echo "Installing MAEstro applications, demos, developer tools, and unsupported software."
- .scripts/installApps
- .scripts/installDemos
- .scripts/installPgmr
- .scripts/installExtra
- breaksw
- case "demos": # MAEstro Demos
- echo "Installing MAEstro demos."
- .scripts/installDemos
- breaksw
- case "developer": # MAEstro Developer tools
- echo "Installing MAEstro developer tools."
- .scripts/installPgmr
- breaksw
- case "extras": # Unsupported software
- echo "Installing unsupported software."
- .scripts/installExtra
- breaksw
- case "standard": # Default installation process
- default:
- echo "Installing MAEstro Applications."
- .scripts/installApps
- echo "Installing MAEstro developer tools."
- .scripts/installPgmr
- echo "Installing unsupported software."
- .scripts/installExtra
- breaksw
- endsw
-
- exit (0) # Installation was successful; get outtahere.
-